<?php
/* @var $this OthersafetyfeaturesController */
/* @var $model Othersafetyfeatures */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'othersafetyfeatures-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'NoOfLubricantingBays'); ?>
		<?php echo $form->textField($model,'NoOfLubricantingBays'); ?>
		<?php echo $form->error($model,'NoOfLubricantingBays'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'NoOfWashRacks'); ?>
		<?php echo $form->textField($model,'NoOfWashRacks'); ?>
		<?php echo $form->error($model,'NoOfWashRacks'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CrankcaseDrainageProvided'); ?>
		<?php echo $form->textField($model,'CrankcaseDrainageProvided'); ?>
		<?php echo $form->error($model,'CrankcaseDrainageProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'OilOrWaterSeparatorProvided'); ?>
		<?php echo $form->textField($model,'OilOrWaterSeparatorProvided'); ?>
		<?php echo $form->error($model,'OilOrWaterSeparatorProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'PerimeterOrFireWallProvided'); ?>
		<?php echo $form->textField($model,'PerimeterOrFireWallProvided'); ?>
		<?php echo $form->error($model,'PerimeterOrFireWallProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Height'); ?>
		<?php echo $form->textField($model,'Height'); ?>
		<?php echo $form->error($model,'Height'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'AnyOpening'); ?>
		<?php echo $form->textField($model,'AnyOpening'); ?>
		<?php echo $form->error($model,'AnyOpening'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DispensingPlatformProvided'); ?>
		<?php echo $form->textField($model,'DispensingPlatformProvided'); ?>
		<?php echo $form->error($model,'DispensingPlatformProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'HeightWithinLimit'); ?>
		<?php echo $form->textField($model,'HeightWithinLimit'); ?>
		<?php echo $form->error($model,'HeightWithinLimit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ManholeTankCoverMadeOf'); ?>
		<?php echo $form->textField($model,'ManholeTankCoverMadeOf',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'ManholeTankCoverMadeOf'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Thickness'); ?>
		<?php echo $form->textField($model,'Thickness'); ?>
		<?php echo $form->error($model,'Thickness'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Gasketed'); ?>
		<?php echo $form->textField($model,'Gasketed'); ?>
		<?php echo $form->error($model,'Gasketed'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Housekeeping'); ?>
		<?php echo $form->textField($model,'Housekeeping'); ?>
		<?php echo $form->error($model,'Housekeeping'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'AnyRefreshmentStandBeingOperatedInsidePremises'); ?>
		<?php echo $form->textField($model,'AnyRefreshmentStandBeingOperatedInsidePremises'); ?>
		<?php echo $form->error($model,'AnyRefreshmentStandBeingOperatedInsidePremises'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Establishment_Id'); ?>
		<?php echo $form->textField($model,'Establishment_Id'); ?>
		<?php echo $form->error($model,'Establishment_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->